execute as @s[nbt={Inventory:[{Slot:-106b,tag:{id:"advm:battery_swapper",power:0}}]}] run function advm:skills/battery_swapper_run